/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package fr.adama.dto;

import java.io.Serializable;
import java.math.BigDecimal;
import javax.validation.constraints.Size;
import org.codehaus.jackson.annotate.JsonIgnore;

/**
 *
 * @author mini-john
 */
public class LigneFactureModeleDTO implements Serializable{

    private Long id;
    @Size(min = 1, message = "{Size.LigneFactureModele.nom}")
    private String designation;
    private BigDecimal tauxBase;
    private BigDecimal tva;
    private Integer positionFacture;

    public Integer getPositionFacture() {
        return positionFacture;
    }

    public void setPositionFacture(Integer positionFacture) {
        this.positionFacture = positionFacture;
    }

    @JsonIgnore
    private ModeleFactureDTO modeleFacture;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getDesignation() {
        return designation;
    }

    public void setDesignation(String designation) {
        this.designation = designation;
    }

    public BigDecimal getTauxBase() {
        return tauxBase;
    }

    public void setTauxBase(BigDecimal tauxBase) {
        this.tauxBase = tauxBase;
    }

    public BigDecimal getTva() {
        return tva;
    }

    public void setTva(BigDecimal tva) {
        this.tva = tva;
    }

    public ModeleFactureDTO getModeleFacture() {
        return modeleFacture;
    }

    public void setModeleFacture(ModeleFactureDTO modeleFacture) {
        this.modeleFacture = modeleFacture;
    }

}
